package org.ejc.persist.model;

import java.io.Serializable;
import java.util.Set;
import org.apache.commons.lang.builder.ToStringBuilder;


/** @author Hibernate CodeGenerator */
public class AdditionalInfoTypeDesc implements Serializable {

    /** identifier field */
    private Integer additionalInfoTypeDescId;

    /** nullable persistent field */
    private String additionalInfoDesc;

    /** persistent field */
    private Set conventionRegistrantHasAdditionalInfoTypeDescs;

    /** full constructor */
    public AdditionalInfoTypeDesc(Integer additionalInfoTypeDescId, String additionalInfoDesc, Set conventionRegistrantHasAdditionalInfoTypeDescs) {
        this.additionalInfoTypeDescId = additionalInfoTypeDescId;
        this.additionalInfoDesc = additionalInfoDesc;
        this.conventionRegistrantHasAdditionalInfoTypeDescs = conventionRegistrantHasAdditionalInfoTypeDescs;
    }

    /** default constructor */
    public AdditionalInfoTypeDesc() {
    }

    /** minimal constructor */
    public AdditionalInfoTypeDesc(Integer additionalInfoTypeDescId, Set conventionRegistrantHasAdditionalInfoTypeDescs) {
        this.additionalInfoTypeDescId = additionalInfoTypeDescId;
        this.conventionRegistrantHasAdditionalInfoTypeDescs = conventionRegistrantHasAdditionalInfoTypeDescs;
    }

    public Integer getAdditionalInfoTypeDescId() {
        return this.additionalInfoTypeDescId;
    }

    public void setAdditionalInfoTypeDescId(Integer additionalInfoTypeDescId) {
        this.additionalInfoTypeDescId = additionalInfoTypeDescId;
    }

    public String getAdditionalInfoDesc() {
        return this.additionalInfoDesc;
    }

    public void setAdditionalInfoDesc(String additionalInfoDesc) {
        this.additionalInfoDesc = additionalInfoDesc;
    }

    public Set getConventionRegistrantHasAdditionalInfoTypeDescs() {
        return this.conventionRegistrantHasAdditionalInfoTypeDescs;
    }

    public void setConventionRegistrantHasAdditionalInfoTypeDescs(Set conventionRegistrantHasAdditionalInfoTypeDescs) {
        this.conventionRegistrantHasAdditionalInfoTypeDescs = conventionRegistrantHasAdditionalInfoTypeDescs;
    }

    public String toString() {
        return new ToStringBuilder(this)
            .append("additionalInfoTypeDescId", getAdditionalInfoTypeDescId())
            .toString();
    }

}
